package com.hx.miniblog.util.constant;

/**
 * @author wenhao hu
 * @title: Constant
 * @projectName miniBlog
 * @description: TODO
 * @date 2021/12/2810:53
 */
public abstract class Constant {
    /**
     * JWT配置
     */
    public static class JWT_CONSTANT{
        public static final String SECRET = "O%@HFAK&@!KNSA)";
        public static final String PAYLOAD_DATA = "data";
    }
    /**
     * INTEGER
     */
    public static class INTEGER_CONSTANT{
        public static final String ONE = "1";
        public static final String TWO = "2";
        public static final String THREE = "3";
        public static final String FOUR = "4";
        public static final String FIVE = "5";
        public static final String SIX = "6";
        public static final String SEVEN = "7";
        public static final String EIGHT = "8";
        public static final String NINE = "9";
        public static final String ZERO = "0";
    }

    /**
     * HTTP CODE
     */
    public static class HTTP_CODE{
        public static final String OK = "200";
        public static final String FAIL = "500";
        public static final String NET_ERROR = "401";
    }

    /**
     * STRING_POOL
     */
    public static class STRING_POOL{
        public static final String douhao = ",";
    }

    /**
     * RETURN MESSAGE
     */
    public static class MESSAGE{
        public static final String NET_ERROR_MESSAGE = "网络异常";
        public static final String SUCCESS_MESSAGE = "调用成功";
        public static final String AUTH_USER_FAIL = "校验用户失败";
        public static final String TOKEN_EXPIRE = "用户Token失效，请重新登录";
        public static final String AUTH_PERMISSION = "无权限的操作！";
        public static final String USER_IS_UN_ONLINE = "用户不在线";
        public static final String PARAM_ISNULL = "参数不允许为空！";
        public static final String PASSWORD_FALSE = "密码错误！";
    }



}
